<html layout:decorate="~{default/layout}" xmlns:layout="http://www.w3.org/1999/xhtml">
<head>
    <script>

        $(function () {
            //设置点击 class
            var url = document.URL;
//            alert(url);
            if (url.indexOf("project_list") > 0) {
                $('#project').addClass("active");
            }
            if (url.indexOf("equipment_list") > 0) {
                $('#equipment').addClass("active");
            }
            if (url.indexOf("temperature_list") > 0) {
                $('#config').addClass("active");
            }
        });


    </script>
</head>
<body>
<div layout:fragment="content">
    <div class="main-content-inner">
        <div class="breadcrumbs ace-save-state" id="breadcrumbs">
            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa fa-home home-icon"></i>
                    <a href="#">主页</a>
                </li>
                <li class="active">工程配置</li>
                <li class="active">对象管理</li>
            </ul><!-- /.breadcrumb -->
        </div>
        <div>
            <ul class="nav nav-tabs">
                <li role="presentation" id="project"><a href="/project/objectManage/project_list">项目管理</a></li>
                <li role="presentation" id="equipment"><a href="/project/objectManage/equipment_list">设备管理</a></li>
                <li role="presentation" id="config"><a href="/project/objectManage/temperature_list">模组温度配置</a></li>
            </ul>
        </div>
        <div class="page-content" layout:fragment="object_list">
        </div>
    </div>
</div>
</body>
</html>